<div class="box box-solid no-margin box-show">
    <div class="box-body">
        <h4>基本信息</h4>
        <div class="box-body table-responsive no-padding">
            <table class="table">
                <thead>
                <tr>
                    <th>SKU</th>
                    <th>PartNo.</th>
                    <th>是否在售</th>
                    <th>名称</th>
                    <th>季节性</th>
                    <th>品类</th>
                    <th>ModelNo</th>
                    <th>采购单价</th>
                    <th>不含税单价</th>
                    <th>采购周期</th>
                    <th>产品状态</th>
                    <th>负责人</th>
                    <th>启用</th>
                    <th>相关销售员</th>
                </tr>
                </thead>
                <tbody>
                <tr>
                    <td>{{ $ps->psku_code }}</td>
                    <td>{{ $ps->part_number }}</td>
                    <td><span class="label label-{{ $ps->is_sales == 1 ? 'warning': 'default' }}">{{ $ps->is_sales == 1 ? '是' : '否' }}</span></td>
                    <td style="max-width: 100px">{{ $ps->psku_cn }}</td>
                    <td>{{ \App\Models\Product\ProductClassify::$_season[$ps->classify->season ?? 3] }}</td>
                    <td>{{ $ps->classify->title ?? '' }}</td>
                    <td>{{ $ps->classify->model_no ?? '' }}</td>
                    <td>{{ $unitPrice }}</td>
                    <td>{{ $unitPriceNoTax }}</td>
                    <td>{{ $purchaseCycle }}</td>
                    <td>{{ \App\Models\Product\ProductSku::$_pSkuStatus[$ps->psku_status] }}</td>
                    <td>{{ \App\Util\User::getUsernameById($ps->muser_id) }}</td>
                    <td>{{ \App\Models\Product\ProductSku::$_status[$ps->status] }}</td>
                    <td>{{ \App\Models\Product\ProductSku::getSellers($ps->id) }}</td>
                </tr>
                </tbody>
            </table>
        </div>
    </div>
</div>
<div class="box box-solid no-margin box-show">
    <div class="box-body">
        <h4>产品描述</h4>
        <div class="box-body no-padding" style="margin-left: 50px">
            @if(is_null($ps->psku_describe)||empty($ps->psku_describe))
                暂无产品描述信息
            @else
                <pre style="background-color: #fff;border: 1px solid #fff;">{{ $ps->psku_describe }}</pre>
            @endif
        </div>
    </div>
</div>
